package auto.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杨森
 * @since 2022-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BeforeAssertion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 断言id
     */
    @TableId(value = "automatic_id", type = IdType.AUTO)
    private Integer automaticId;

    /**
     * 测试用例id
     */
    private Integer caseId;

    /**
     * 断言名称
     */
    private String assertionName;

    /**
     * 断言对象
     */
    private String assertionObject;

    /**
     * 提取键
     */
    private String extractExpression;

    /**
     * 是否继续提取 0不继续 1继续
     */
    private Integer continueExtraction;

    /**
     * 继续提取第几参数
     */
    private Integer automaticIndex;

    /**
     * 断言方法
     */
    private String assertMethods;

    /**
     * 断言值
     */
    private String assertValue;

    /**
     * 是否启用 0启用 1不启用
     */
    private Integer assertEnable;

    /**
     * 逻辑删除 0 1
     */
    @TableField("Is_Deleted")
    private Integer isDeleted;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    /**
     * 备注
     */
    private String assertRemark;


}
